Platform Explorer / Nuxeo Platform 2021.50

Component org.nuxeo.ecm.platform.picture.ImagingComponent.default.config

Documentation

Defines configurations for imaging service

Resolution Order

377
The resolution order represents the order in which this component has been resolved by the Nuxeo Runtime framework.
You can influence this order by adding "require" tags in your component declaration, to make sure it is resolved after another component.

Contributions

XML Source

<?xml version="1.0"?>

<component name="org.nuxeo.ecm.platform.picture.ImagingComponent.default.config">
  <documentation>
    Defines configurations for imaging service
  </documentation>

  <extension target="org.nuxeo.ecm.platform.picture.ImagingComponent"
    point="configuration">

    <configuration>
      <parameters>
        <!-- global configuration variables -->
        <parameter name="conversionFormat">jpg</parameter>
      </parameters>
    </configuration>
  </extension>

  <extension target="org.nuxeo.ecm.platform.picture.ImagingComponent"
    point="pictureConversions">

    <pictureConversion id="Thumbnail" description="Thumbnail size"
      maxSize="100" order="0" chainId="Image.Blob.Resize"
      default="true" rendition="true" />

    <pictureConversion id="Small" description="Small size"
      maxSize="560" order="100" chainId="Image.Blob.Resize"
      default="true" rendition="true" />

    <pictureConversion id="Medium" description="Medium size"
      maxSize="1000" order="200" chainId="Image.Blob.Resize"
      default="true" rendition="true" />

    <pictureConversion id="FullHD" description="Full HD size"
      maxSize="1920" order="300" chainId="Image.Blob.Resize"
      default="true" rendition="true" />

    <pictureConversion id="OriginalJpeg" description="Original jpeg image"
      order="400" chainId="Image.Blob.Resize"
      default="true" rendition="true" />

  </extension>
</component>